package cate.game.role.pvp.videohall.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBVideoHall;
import cate.game.videohall.po.VideoGroupPO;
import cate.game.videohall.vo.VideoGroupVO;
import easy.java.dev.note.NoteField;

import java.util.Set;

@ClientMsg(title = "单个分组的录像 の 返回")
public class VideoGroupResp implements MsgOutput {
    @NoteField(value = "录像分组")
    public VideoGroupVO group;

    public VideoGroupResp(){

    }

    public VideoGroupResp(VideoGroupPO group, Set<String> collectUids) {
        this.group = new VideoGroupVO(group, collectUids);
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBVideoHall.VIDEO_GROUP_RESP;
    }
}
